home *** CD-ROM | disk | FTP | other *** search
/ The Game Master (3rd Edition) / The Game Master 3rd edition.iso / files / demo_vga / utilega2 / ansi-ega.mod < prev    next >
Encoding:
Text File  |  1986-06-09  |  2.0 KB  |  55 lines

  1. ยข0 L
  2.                                    ANSI-EGA.MOD
  3.  
  4.          The IBM EGA is capable of a 43 lines per screen mode when used in
  5.          conjunction with the Enhanced Color Display or the Monochrome
  6.          Display.  However, ANSI.SYS will not handle scrolling properly in
  7.          this mode.  Here are some patches to ANSI.SYS (DOS Version 3.1)
  8.          that I have discovered to fix the problem:
  9.  
  10.        1. Replace bytes at 29D, 29E, 2A1, and 2A2 with 90H (NOPs).
  11.           This is per Charles Petzolds article re: WAITASEC in PC Magazine
  12.           November 26, 1985, p. 215-222
  13.        2. Replace bytes at 27C, 50C, and 58F with 2BH (sets 43 lines)
  14.        3. Replace byte at 283 with 2AH (sets 42nd line check?)
  15.  
  16.        4. You'll also need to patch COMMAND.COM so that CLS clears all 43
  17.           lines Unfortunately, I only have the patch for DOS 3.1 (from the
  18.           same PC Mag, p. 235)
  19.  
  20.           Replace byte at 263B with 2AH (so that 43 lines are cleared)
  21.  
  22.        NOTE:  To use this revised ANSI.SYS you MUST set the EGA to 43 line
  23.               mode (using 43.COM or SET43.COM).  If you don't, the lower
  24.               18 lines will not appear on the screen and you will be "flying
  25.               blind", as that's where the action usually happens.
  26.  
  27.        Here are the DEBUG instructions for making the changes:
  28.  
  29.        DEBUG ANSI43.SYS (a copy of ANSI.SYS)
  30.  
  31.        E 29D 90 90
  32.        E 2A1 90 90
  33.        E 27C 2B
  34.        E 283 2A
  35.        E 50C 2B
  36.        E 58F 2B
  37.        W
  38.        Q
  39.  
  40.        DEBUG COMMAND.COM (make a copy!)
  41.  
  42.        E 263B 2A
  43.        W
  44.        Q
  45.          Reboot with the new ANSI43.SYS, and you should be in business.  It
  46.          seems to work properly so far.  I've even been able to specify
  47.          cursor position commands in the lower 18 lines.
  48.  
  49.                               Karl Konnerth 76044,354
  50.  
  51.  
  52.  
  53.          [NANSI.SYS is a better alternative to this. If you have trouble
  54.           getting NANSI.SYS to work, then use this patch on ANSI.SYS.]
  55.